package com.pshcp.vo.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Description: TODO
 * @Author: xiaoche
 * @Date: 2022/11/4 21:46
 */
@Data
@ApiModel(value = "系统消息")
public class MessageVO {
    @ApiModelProperty(value = "系统消息id")
    private Long id;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "描述")
    private String description;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private List<MessageContentVO> contents;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型0入院1挂号2退号3缴费4住院证5文章分享6患者加入分组7诊前加号8发送系统描述和病情")
    private Integer messageType;

    /**
     * 数据id
     */
    @ApiModelProperty(value = "数据id")
    private Long dataId;

    /**
     * 0 未读 1已读
     */
    @ApiModelProperty(value = "0 未读 1已读")
    private Integer readFlag;

    @ApiModelProperty(value = "消息时间")
    private Date createdTime;

    /**
     * 通知的id，用户id
     */
    @ApiModelProperty(value = " 通知的id，用户id")
    private Long userId;

    /**
     * 类型0 医生 1患者
     */
    @ApiModelProperty(value = " 类型0 医生 1患者")
    private Integer userType;
}
